package com.fqgj.xjd.user.entity;
import com.fqgj.common.entity.BaseEntity;
import java.math.BigDecimal;
import java.util.Date;
/**
* User: zsp
* Date: 2019-06-11
* Time: 15:30:03.241
* TableDesc:用户额度--额度流水
*/
public class UserQuotaHistoryEntity extends BaseEntity{
    /**
    *客户码
    */
    private String userCode;
    /**
    *产品类目
    */
    private String categoryCode;
    /**
    *旧额度
    */
    private BigDecimal oldQuota;
    /**
    *调整额度
    */
    private Double adjustQuota;
    /**
    *新额度
    */
    private BigDecimal newQuota;
    /**
    *调整类型 -1降额 0 保持 1 提额
    */
    private Integer type;
    /**
    *备注
    */
    private String remark;
    /**
    *调整人
    */
    private String createdBy;


    public  String getUserCode(){
        return this.userCode;
    }

    public  UserQuotaHistoryEntity setUserCode(String userCode){
        this.userCode = userCode;
        return this;
    }

    public  String getCategoryCode(){
        return this.categoryCode;
    }

    public  UserQuotaHistoryEntity setCategoryCode(String categoryCode){
        this.categoryCode = categoryCode;
        return this;
    }

    public  BigDecimal getOldQuota(){
        return this.oldQuota;
    }

    public  UserQuotaHistoryEntity setOldQuota(BigDecimal oldQuota){
        this.oldQuota = oldQuota;
        return this;
    }

    public  Double getAdjustQuota(){
        return this.adjustQuota;
    }

    public  UserQuotaHistoryEntity setAdjustQuota(Double adjustQuota){
        this.adjustQuota = adjustQuota;
        return this;
    }

    public  BigDecimal getNewQuota(){
        return this.newQuota;
    }

    public  UserQuotaHistoryEntity setNewQuota(BigDecimal newQuota){
        this.newQuota = newQuota;
        return this;
    }

    public  Integer getType(){
        return this.type;
    }

    public  UserQuotaHistoryEntity setType(Integer type){
        this.type = type;
        return this;
    }

    public  String getRemark(){
        return this.remark;
    }

    public  UserQuotaHistoryEntity setRemark(String remark){
        this.remark = remark;
        return this;
    }

    public  String getCreatedBy(){
        return this.createdBy;
    }

    public  UserQuotaHistoryEntity setCreatedBy(String createdBy){
        this.createdBy = createdBy;
        return this;
    }
}
